package com.wxy.domain;

/**
 * @author 47868
 */
public class MyException extends RuntimeException {
    private String message;
    private Throwable cause;
    public MyException(String message) {
        this.message = message;
    }
    public MyException(String message, Throwable cause) {
        this.message = message;
        this.cause = cause;
    }
    public String getMessage() {
        return message;
    }
    public Throwable getCause() {
        return cause;
    }
}
